package com.zhentao.product.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhentao.login.utils.Result;
import com.zhentao.nlz.project.dto.DictionaryDto;
import com.zhentao.nlz.project.product.TParamEterize;
import com.zhentao.product.mapper.TParamEterizeMapper;
import com.zhentao.product.service.TParamEterizeService;
import org.springframework.stereotype.Service;

/**
* @author 27078
* @description 针对表【t_param_eterize】的数据库操作Service实现
* @createDate 2024-10-10 18:59:13
*/
@Service
public class TParamEterizeServiceImpl extends ServiceImpl<TParamEterizeMapper, TParamEterize>
    implements TParamEterizeService {

    @Override
    public Result PageParamEterize(DictionaryDto dictionaryDto) {
        Page<TParamEterize> page = new Page<>(dictionaryDto.getPageNum(), dictionaryDto.getPageSize());
        LambdaQueryWrapper<TParamEterize> wrapper = new LambdaQueryWrapper<>();
        this.page(page, wrapper);
        return Result.success(page);
    }
}




